package com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.entity;

import com.google.gson.Gson;
import java.io.Serializable;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@YMSEntity
@YMSTable(tableName = "dxq_ordernotice")
public class OrderNoticeEntity extends BaseEntity implements Serializable {

    /**
     * 1、发货单弃审 触发生成返拣单 type=2 actioncode=unpick
     * 2、发货单审核 触发 发货单 type=2 - 拣货完成 生成配货单 type=5
     * 3、到货单审核 触发 到货单 type=3 - 发签完成 入库单 type=7
     */
    private Integer id;

    // storerecord表 ordertype单据类型,1入库单(分配标签),2发货单,3到货单(到货分配标签、上架) 盘点补签4
    //单据类型,1入库单(分配标签),2发货单,3到货单(到货分配标签、上架),盘点补签4,5配货单, 6失败记录 7出入库单
    private Integer type;

    private String actioncode;

    //交易类型
    private String transtype;

    private String orderid;

    private String ordercode;

    private String orderdetailids;

    private String sourceid;

    private String sourcecode;

    private String sourcedetailids;

    private String firstsourceid;

    private String firstsourcecode;

    private String firstsourcedetailids;

    //出库完成 0未完成 1已完成
    private Integer status = 0;

    private int dr = 0;

    @YMSColumn(name = "tenant_id")
    private String tenant_id;

    @YMSColumn(name = "ytenant_id")
    private String ytenant_id;

    private String creator;

    private String modifier;

    private String pubts;

    //type=5 配货编号
    private String pickbatchno;

    //拣货状态 1已拣货 ; 反捡状态 0未反捡 1反捡中 2已反捡 3到货单未拣货弃审(没有反拣明细)
    private Integer repickstatus = 0;

    //审核状态 1已审核/已配货 0未审核 2弃审
    private Integer auditstatus = 0;

    private String remark;

    private String remarkyonyou;

    private String remarkdxq;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemarkyonyou() {
        return remarkyonyou;
    }

    public void setRemarkyonyou(String remarkyonyou) {
        this.remarkyonyou = remarkyonyou;
    }

    public String getRemarkdxq() {
        return remarkdxq;
    }

    public void setRemarkdxq(String remarkdxq) {
        this.remarkdxq = remarkdxq;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table NewTable
     *
     * @mbg.generated Mon Mar 07 07:40:31 UTC 2022
     */
    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getActioncode() {
        return actioncode;
    }

    public void setActioncode(String actioncode) {
        this.actioncode = actioncode;
    }

    public String getTranstype() {
        return transtype;
    }

    public void setTranstype(String transtype) {
        this.transtype = transtype;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrdercode() {
        return ordercode;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }

    public String getOrderdetailids() {
        return orderdetailids;
    }

    public void setOrderdetailids(String orderdetailids) {
        this.orderdetailids = orderdetailids;
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid;
    }

    public String getSourcecode() {
        return sourcecode;
    }

    public void setSourcecode(String sourcecode) {
        this.sourcecode = sourcecode;
    }

    public String getSourcedetailids() {
        return sourcedetailids;
    }

    public void setSourcedetailids(String sourcedetailids) {
        this.sourcedetailids = sourcedetailids;
    }

    public String getFirstsourceid() {
        return firstsourceid;
    }

    public void setFirstsourceid(String firstsourceid) {
        this.firstsourceid = firstsourceid;
    }

    public String getFirstsourcecode() {
        return firstsourcecode;
    }

    public void setFirstsourcecode(String firstsourcecode) {
        this.firstsourcecode = firstsourcecode;
    }

    public String getFirstsourcedetailids() {
        return firstsourcedetailids;
    }

    public void setFirstsourcedetailids(String firstsourcedetailids) {
        this.firstsourcedetailids = firstsourcedetailids;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public int getDr() {
        return dr;
    }

    public void setDr(int dr) {
        this.dr = dr;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    public String getYtenant_id() {
        return ytenant_id;
    }

    public void setYtenant_id(String ytenant_id) {
        this.ytenant_id = ytenant_id;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getPubts() {
        return pubts;
    }

    public void setPubts(String pubts) {
        this.pubts = pubts;
    }

    public String getPickbatchno() {
        return pickbatchno;
    }

    public void setPickbatchno(String pickbatchno) {
        this.pickbatchno = pickbatchno;
    }

    public Integer getRepickstatus() {
        return repickstatus;
    }

    public void setRepickstatus(Integer repickstatus) {
        this.repickstatus = repickstatus;
    }

    public Integer getAuditstatus() {
        return auditstatus;
    }

    public void setAuditstatus(Integer auditstatus) {
        this.auditstatus = auditstatus;
    }
}
